import request from '@/utils/request'

// 查询仓库调拨单列表
export function listBasicdatas(query) {
  return request({
    url: '/system/basicdatas/list',
    method: 'get',
    params: query
  })
}

// 查询仓库调拨单详细
export function getBasicdatas(id) {
  return request({
    url: '/system/basicdatas/' + id,
    method: 'get'
  })
}

// 新增仓库调拨单
export function addBasicdatas(data) {
  return request({
    url: '/system/basicdatas',
    method: 'post',
    data: data
  })
}

// 修改仓库调拨单
export function updateBasicdatas(data) {
  return request({
    url: '/system/basicdatas',
    method: 'put',
    data: data
  })
}

// 删除仓库调拨单
export function delBasicdatas(id) {
  return request({
    url: '/system/basicdatas/' + id,
    method: 'delete'
  })
}

